package com.coders.splash;



import com.coders.splash.R.id;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class ActivitySplash extends Activity {
    /** Called when the activity is first created. */
	Button mail;
	Button fb;
	Button log;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
      //  fb=(Button)findViewById(R.id.btnfb);
        //log=(Button)findViewById(R.id.btnlogo);
   //     public handleClick(View v){
            mail=(Button)findViewById(R.id.btnemail);

        mail.setOnClickListener(new View.OnClickListener( ) {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				
				Intent ourintent=new Intent("com.coders.splash.EMAIL" );

					startActivity(ourintent);
								
					
					
			}
	    });
        }
      /*  fb.setOnClickListener(new View.OnClickListener( ) {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				
					Intent ourintent=new Intent("com.coders.splash.FB");
					startActivity(ourintent);
								
					
					
			}
	    });
        log.setOnClickListener(new View.OnClickListener( ) {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				
					Intent ourintent=new Intent("com.coders.splash.LOGO");
					startActivity(ourintent);
								
					
					
			}
	    });*/
        
      }
//}
